package name.huzhenbo.java.collection;

class SortedListItem {
    private int val;
    private SortedListItem next;

    public SortedListItem(int val, SortedListItem next) {
        this.val = val;
        this.next = next;
    }

    public int val() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public SortedListItem next() {
        return next;
    }

    public void setNext(SortedListItem next) {
        this.next = next;
    }
}
